Image processing device, image processing method, program and storage medium

ABSTRACT

To enable the operability of image editing process to improve, the first procedure for making configurations relating to a print medium used in printing by a printing device, the second procedure for selecting an image to be printed by the printing device and specifying its print range, the third procedure for making configurations relating to image processing for the image for which the print range is specified, and the fourth procedure for performing printing process of the image data to which the configured image processing is applied are executed.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an image processing device, image processing method, program, and storage medium for processing image data and causing a printing device to print the processed image.

2. Related background Art

Conventionally, when an image editing application is executed that is operable on such as Windows®98, an operating system from Microsoft Inc., the screen displaying entries to be set by a user would not be switched according to the condition of necessary editing. Therefore, the user needed to select a menu and choose from it a menu entry for configuring image trimming or image printing to execute the process according to his/her editing condition.

However, the prior art had a problem as follows. That is, the conventional image processing method had a problem that a user had difficulty in finding which menu or button he/she should select to perform a necessary input. Also, since recent applications increasingly have a great number of image editing features, it is getting all the more difficult for the user to find an operation to be performed from a menu or buttons in an application.

SUMMARY OF THE INVENTION

The invention was made in view of the above respects and has the object of improving the operability of image editing process.

To attain the object, the image processing device according to the invention is an image processing device for processing image data and having the processed image data printed by a printing device, characterized in that it comprises control means for executing:

a first procedure for making configurations relating to a print medium used in printing by the printing device;

a second procedure for selecting an image to be printed by the printing device and specifying its print range;

a third procedure for making configurations relating to the image processing of the image for which the print range was specified; and

a fourth procedure for performing the printing process of the image data to which the configured image processing was applied.

The image processing method according to the invention is an image processing method for processing image data and having the processed image data printed by the printing device, characterized in that it has:

a first procedure for making configurations relating to a print medium used in printing by the printing device;

a second procedure for selecting an image to be printed by the printing device and specifying its print range;

a third procedure for making configurations relating to the image processing of the image for which the print range was specified; and

a fourth procedure for performing the printing process of the image data to which the configured image processing was applied.

The computer readable program according to the invention is a program for processing image data and having the processed image data printed by the printing device, characterized in that it has:

a first procedure for making configurations relating to a print medium used in printing by the printing device;

a second procedure for selecting an image to be printed by the printing device and specifying its print range;

a third procedure for making configurations relating to the image processing of the image for which the print range was specified; and

a fourth procedure for performing the printing process of the image data to which the configured image processing was applied.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a block diagram illustrating an exemplary configuration of the image processing device according to an embodiment of the invention;

FIG. 2 shows a flow chart illustrating the first procedure according to an embodiment of the invention;

FIG. 3 shows a flow chart illustrating the second procedure according to an embodiment of the invention;

FIG. 4 shows a flow chart illustrating the third procedure according to an embodiment of the invention;

FIG. 5 shows a flow chart illustrating the fourth procedure according to an embodiment of the invention;

FIG. 6 is an illustration showing an exemplary screen display for performing the first procedure according to an embodiment of the invention;

FIG. 7 is an illustration showing an exemplary screen display for performing the second procedure according to an embodiment of the invention;

FIG. 8 is an illustration showing an exemplary screen display for performing the third procedure according to an embodiment of the invention;

FIG. 9 is an illustration showing an exemplary screen display for performing the fourth procedure according to an embodiment of the invention;

FIG. 10 shows a flow chart illustrating a procedure according to an embodiment of the invention;

FIG. 11 is an illustration showing an exemplary screen display for software for selecting an image according to an embodiment of the invention; and

FIG. 12 is an illustration showing an exemplary screen display for software for selecting an image according to an embodiment of the invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The overview of the invention will be first described prior to the description of its embodiments. The invention realizes further improvements of the operability of image editing process by switching displays listing configuration entries corresponding to each procedure depending on how an application is launched, in an application of image editing process for editing image data adapted for a printing device and also for having the printing device print the result of the editing. Now, the embodiments of the invention will be described in detail based on the drawings.

FIG. 1 is a block diagram showing an example of the configuration of the image processing device according to an embodiment of the invention. The image processing device consists of a host computer 100 which comprises application software 101, an operating system (OS) 102, printer driver 103, monitor driver 104, hard disk (HD) 107, CPU 108, RAM 109, ROM 110, and keyboard/mouse driver 111; a keyboard/mouse 112 as an input device connected to the host computer 100; a printing device (printer) 105 as an output device such as an inkjet printer connected to the host computer 100; and a monitor 106 as an output device connected to the host computer 100.

More particularly, the application software 101 is software such as word processor, spreadsheet, or Internet browser on the host computer 100. The operating system (OS) 102 processes outputs of various instructions for the printer driver 103 and the monitor driver 104 to be mentioned in the following. The printer driver 103 controls driving of the printer 105. The monitor driver 104 controls the display of the monitor 106. The hard disk (HD) 107 stores various types of data. The CPU 108 is the central processing device controlling each of the above elements and executes processes shown in the respective flow charts to be described later. The RAM 109 is used as a work area or temporary storage area for the CPU 108. The ROM 110 stores programs and fixed data. The keyboard/mouse driver 111 conveys input signals from the keyboard/mouse 112 to the OS 102.

The programs relevant to the flow charts shown in FIGS. 2 to 5 to be mentioned later are stored in the hard disk (HD) 107 or ROM 110 and appropriately read by the CPU 108 to be executed.

The printing device (printer) 105 performs printing on a print medium based on the control of the printer driver 103. The printing device (printer) 105 can employ any type of printing processes such as the above-mentioned inkjet printing and electrophotography printing. The monitor 106 displays various screen displays including screens shown in FIGS. 6 to 9, which will be later described, based on the control of the monitor driver 104. The keyboard/mouse 112 is used for inputting various data and various designations.

More specifically, the host computer 100 comprises the keyboard/mouse 112 in order to receive inputs from users. The inputs received on the keyboard/mouse 112 are processed by the keyboard/mouse driver 111 and passed to the operating system (OS) 102. Also, the host computer 100 has the application software 101 such as word processor, spreadsheet, and Internet browser.

When an image is to be displayed on the monitor 106, various rendering processing instructions for outputting the image by display (image rendering instructions, text rendering instructions, and graphics rendering instructions), issued by the application software 101, are input to the monitor driver 104 via the OS 102. And when printing is performed by the printing device (printer) 105, rendering instructions issued by the application software 101 for carrying out printings are also input to the printer driver 103 via the OS 102. The printer driver 103 is software for processing such rendering instructions to generate printing data and having the printing device (printer) 105 print it. The monitor driver 104 is software for processing the above rendering instructions and having the monitor 106 display images.

The host computer 100 comprises pieces of hardware such as the CPU 108, hard disk (HD) 107, RAM 109, and ROM 110 for storing the above software and running them. In this regard, it is possible to use an IBMAT-compatible personal computer which is widely used as the host computer 100 shown in FIG. 1, and to use Windows®98 from Microsoft Inc. as the OS 102. And such a configuration is possible that the personal computer of the above type has any application software with printing feature installed in it and the monitor 106, printing device (printer) 105, and keyboard/mouse 112 connected to it.

On the host computer 100, image data for output is generated by the application software 101 based on the image displayed on the monitor 106 using text data that is classified as text such as characters, graphics data classified as graphics such as figures, or picture image data classified as photographic images. And when images based on the output image data are to be printed, the application software 101 requests the OS 102 of print output and issues rendering instructions to the OS 102 that consist of text rendering instructions for text data portion, graphics rendering instructions for graphics data portion, and image rendering instructions for picture image data portion.

On receipt of the request for print output from the application software 101, the OS 102 passes the rendering instructions to the printer driver 103 that corresponds to the printer 105. The printer driver 103 processes the request and the instructions passed from the OS 102 to generate printing data which can be processed by the printing device (printer) 105 and sends it to the printing device (printer) 105. If the printing device (printer) 105 is a raster printer for example, the printer driver 103 rasterizes the rendering instructions consecutively into band memory which has 8-bit depth for each of RGB (R: red, G: green, B: blue). After all of the rendering instructions have been rasterized, the printer driver 103 converts the content in page memory to data format which can be printed by the printing device (printer) 105, for example CMYK (C: cyan, M: magenta, Y: yellow, K: black)data, and sends it to the printer 105. The band memory is allocated in the RAM 109, for example.

In the following, the flow of image processing through the image processing device according to an embodiment of the invention which is configured as the above will be described in detail with reference to FIGS. 1 to 9.

(The First Procedure)

FIG. 2 is a flow chart showing the flow of the first procedure. This flow chart is performed by the CPU 108 of the host computer 100. First, at the step S10 the CPU 108 selects a printing device 105 from peripheral devices (input/output devices) connected to the host computer 100 according to a user's designation with a pointing device etc. Then at the step S20, based on information from the printer driver 103 and according to the user's designation with a pointing device etc, the CPU 108 selects a paper size for printing from the sizes supported by the printing device 105 which was selected at the step S10. At the step S30, based on the information from the printer driver 103, the CPU 108 then selects the type of paper such as plain paper and photographic paper as the type of the paper with the size selected at the step S20 according to the user's designation with a pointing device etc.

(The Second Procedure)

FIG. 3 is a flow chart showing the flow of the second procedure. This chart is performed by the CPU 108 of the host computer 100. First at the step S100, the CPU 108 reads an image file subjected to image processing or an information file to be created with this image processing method from a storage device such as the hard disk 107. Then at the step S110, the CPU 108 examines whether or not the file read from the storage device like the hard disk 107 at the step S100 is an information file which will be created with the image processing method.

If it is determined at the step S110 that the file read from the storage device such as the hard disk 107 is not an information file to be created according to the image processing method, then the CPU 108 displays an image file read from the storage device such as the hard disk 107 on the monitor 106 by means of the monitor driver 104 at the step S120.

When the image is displayed, it is necessary to consider the size of the image to be displayed depending on the paper type (postcard, A4), since full-page printing is supported in postcard printing, whereas not in A4 printing. Specifically, when postcard is specified, the area that will be printed overflowing (12 pixels for each of four sides, for example) is removed from the original image (800 ×600 pixels, for example) for full-page printing and. an image smaller than the original one (776 ×576 pixels, for example) is displayed, whereas when A4 is specified, the original image (800 ×600 pixels, for example) is displayed as it is. Processed in this way, images can be printed as trimmed.

At the step S130, the CPU 108 then receives the input of the rotation angle for the image. And at the step S140, the CPU 108 determines whether or not the rotation angle for the image received at the step S130 is different from that of the image displayed on the monitor 106 at the step S120.

If, at the step S140, it is determined that the rotation angle of the image received at the step S130 is different from that of the image being displayed on the monitor 106 at the step S120, at the step S150 the CPU 108 processes the image by rotating it with the rotation angle received at the step S130 and, at the step S160, displays the processing result on the monitor 106 by means of the monitor driver 104. Then at the step S170, the CPU 108 specifies the print range (trimming area) for the image file read from the storage device such as the hard disk 107 at the step S100.

As the specification of a print range is processed, a trimming frame (701) based on the aspect ratio of the paper size (postcard, A4, card, etc.) selected in the first procedure is displayed. At this point, the paper size is compared with the image size and a trimming frame is displayed in its largest size that matches either the vertical or horizontal length. In the example of FIG. 7, the size of the trimming frame matches the image in its vertical size and the horizontal size depends on the vertical size. Then, the display of the trimming frame is modified according to scaling operations to the frame by the user with a pointing device etc.

If, at the step S140, it is determined that the rotation angle received at the step S130 is equal to that of the image displayed on the monitor 106 at the step S120, the process for the step S170 is executed. Also, if it is determined at the step S110 that the file read from the storage device such as the hard disk 107 is an information file to be created with the image processing, the second procedure is terminated.

(The Third Procedure)

FIG. 4 is a flow chart showing the flow of the third procedure. This flow chart is performed by the CPU 108 of the host computer 100. First, at the step S200, the CPU 108 displays only the area of the image file on the monitor 106 which was specified as the print range at the step S170 in the second procedure shown in FIG. 3 via the monitor driver 104. Then at the step S210, the CPU 108 specifies an area subjected to image processing within the area displayed on the monitor 106 at the step S200 according to the user's designation with a pointing device. This area designation could be a designation with a polygon (801) with its vertices specified by a pointing device, for example. Then at the step S220, the CPU 108 receives an input as to whether the area specified for image processing at the step S210 will be modified or not.

If an input for modifying the area subjected to image processing is received at the step S220, the CPU 108 modifies the area for image processing at the step S230. At the step S240, the CPU 108 then specifies the level of image processing for the area subjected to image processing specified at the step S210, or the area subjected to image processing modified at the step S230. Here, the level of image processing refers to the amount of raising when giving a photograph three-dimensional appearance for example, although the invention is not limited to this.

(The Fourth Procedure)

FIG. 5 is a flow chart showing the fourth procedure. This flow chart is performed by the CPU 108 of the host computer 100. First at the step S300, the CPU 108 receives an input as to whether or not printing process will be performed by the printing device 105 according to the configurations in the first, second, and third procedures. If the CPU 108 receives a designation for performing printing process at the step S300, it executes printing process for the image data which has been processed with three-dimensional effect of the level specified at the step S240 within the area specified at the step S210 by means of the printer driver 103. In this process, image processing for generating image data suitable for the printing device having a specific resolution, scaling process of the image according to the area trimmed at S170 and the paper size specified at S20, color conversion process from RGB to YMCK, or binarization process is carried out. Subsequently, at the step S320 the CPU 108 receives an input as to whether the configuration information for the first, second, and third procedures will be saved or not. If it has received a designation for saving the information at the step S320, the CPU 108 saves it in a storage device such as the hard disk 107 at the step S330.

(The Execution of the First, Second, Third, and Fourth Procedures)

Now, the execution of the first, second, third, and fourth procedures will be described for the case the image processing method is an application operable on Windows®98 from Microsoft Inc, for example.

When image processing is directly executed, the first procedure is first accepted and subsequently the second, third, and fourth procedures will be accepted. And when the start of the image processing method is instructed on the monitor 106 on which an image read from a storage device such as the hard disk 107 is displayed, the second procedure is accepted and after that the third and fourth procedures will be accepted. And when the start of the image processing method was instructed based on information saved in the fourth procedure, the fourth procedure is accepted.

In an embodiment of the invention, the executable file for the application in which the image processing method is implemented is named “Application.exe”. As shown in FIG. 10, the application in which the image processing is implemented determines at the step S400 how it is launched at the start-up. If, at the step S400, the application in which the image processing is implemented is instructed to start by double-clicking the “Application.exe” using such as file manipulation utility, the screen for executing the first procedure is first displayed on the monitor 106 (see FIG. 6) since the first to forth procedures have to be executed. FIG. 6 shows an exemplary display which shows the printing device (printer) to be selected, paper sizes to be selected, and the paper types to be selected. Then at the step S410 the first procedure is performed. Subsequently, at the step S420 the screen as shown in FIG. 7 is displayed on the monitor 106 for the execution of the second procedure. FIG. 7 is an exemplary screen on which the print range (the mountain in the center of the screen) is specified on the image being displayed on the monitor 106. And at the step S430 the screen as shown in FIG. 8 is displayed on the monitor 106 for executing the third procedure. FIG. 8 is an exemplary screen for specifying the level of image processing. Finally, at the step S440 the screen as shown in FIG. 9 is displayed on the monitor 106 for executing the fourth procedure. FIG. 9 is an example of the screen for specifying the printing of the result of the image processing and saving of information in a storage device such as the hard disk 107.

If, at the step S400, the application in which the image processing is implemented is launched with an image being selected from multiple images on the monitor 106 on which images read from a storage device such as the hard disk 107 are displayed, the screen for performing the second procedure is displayed on the monitor 106 immediately after “Application.exe” is invoked, since the operation for specifying an image file has been already done (see FIG. 7). Specifically, an image is selected by clicking a mouse on a displayed image on software that handles multiple image files as shown in FIG. 11. And a right click of the mouse on the selected image displays a submenu listing operation options for the selected image as shown in FIG. 12. By selecting “Application.exe” from the displayed submenu, the “Application.exe” is invoked with the selected image being loaded. The processes for steps S420 to S440 are then executed in sequence. The entries to be shown in the submenu are based on the content described in a particular file for the display of the submenu. Accordingly, when software is to be installed so that the “Application.exe” can be used on a computer, the “Application.exe” will be displayed as one of the options in the submenu as shown in FIG. 12 by adding an entry for “Application.exe” to the particular file.

If, at the step S400, the application in which the image processing is implemented is instructed to start by double-clicking a file that was saved in the application by means of such as file manipulation utility, the screen for performing the fourth procedure is displayed on the monitor 106 (see FIG. 9) right after “Application.exe” is invoked since all the configurations have been already made. And the step S400 is processed.

As described in the above, according to the embodiment of the invention, the host computer 100 which performs the image editing process for editing image data suitable for the printing device 105 and also has the result of editing printed by the printing device 105 provides advantages as described in the following, since it, depending on how the application is launched, controls displays by switching displays listing configuration entries that correspond to the first procedure for making configurations relating to a print medium used in the printing by the printing device 105; the second procedure for selecting an image to be printed by the printing device 105 and specifying its print range; the third procedure for making configurations relating to the image processing for the image for which the print range was specified; and the fourth procedure for performing image processing to generate image data suitable for the printing device 105.

The invention enables image processing to be performed with minimum operations by, depending on how the application is launched, determining the information that is already configured and displaying a configuration screen corresponding to additional information, rather than starting the display with a screen for setting the initial procedure irrespective of how the application is launched. This can further improve the operability of image editing process. Also, by including a printing function in image editing process, it is possible to easily output images processed with editing to a printing device.

(Other Embodiments)

Although the case where the printing device uses inkjet as its printing process has been described as an example in the above embodiment of the invention, the invention is not limited to inkjet but also can be applied to various printing processes such as electrophotography printing, thermal transfer printing, thermal printing, electrostatic printing and so on.

The invention may be applied to a system that consists of multiple devices (a host computer, interfacing device, reader, and printer, for example), or a device that consists of a single device (a copying machine or facsimile machine, for example).

It goes without saying that the object of the invention can be also attained by providing a system or device with a storage medium (or a recording medium) that records the program codes of software for realizing functions of the above embodiment so that the computer (or CPU, MPU) of the system or device reads and executes the program codes stored in the storage medium.

In this case, the program codes themselves which are read from a medium like a storage medium realize the functions of the above embodiment and the medium such as a storage medium in which the codes are stored constitutes the invention. For the medium as the storage medium supplying the program codes, a floppy® disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, non-volatile memory card, and ROM, etc. can be employed for example.

Also, needless to say, such a case is included in the invention where not only the functions of the above embodiment are realized by executing program codes read by a computer, but an OS etc. running on the computer performs some or all of the actual processes based on the designations of the codes and which processes realize the functions of the above embodiment.

Moreover, it goes without saying that such a case is also included in the invention where after program codes read from a medium such as a storage medium have been written into memory provided on a function expansion board inserted into a computer or a function expansion unit connected to a computer, a CPU etc. that resides on the board or the unit executes some or all of the actual processes according to the designations of the program codes and which processes realize the functions of the above embodiment.

If the invention is applied to the above storage medium, the medium will store the program codes that correspond to the flow charts in FIGS. 2 to 5 of the embodiment mentioned above.

Thus, the operability of image editing process can be improved according to the invention. And image editing process can be performed with minimum operations since the invention accepts predetermined procedures according to how it is launched. 

1. to
 31. (canceled)
 32. An image processing apparatus comprising: a control unit adapted to control a display unit to display a first display screen for identifying a paper type, a second display screen for displaying an image, a third display screen for specifying an area of the image displayed on the second display screen to which specific image processing is to be applied, and a fourth display screen for instructing printing of the image with the specific image processing being applied to the area specified on the third display screen, wherein said control unit controls the display unit to display the first display screen if an application is started, to display the second display screen if the application is started with a certain image being selected, and to display the fourth display screen if the application is started based on saved information.
 33. An image processing apparatus according to claim 32, wherein the second display screen includes a display screen for specifying a print range.
 34. An image processing apparatus according to claim 32, wherein the third display screen includes a display screen for specifying a level of the specific image processing.
 35. An image processing apparatus according to claim 32, wherein the second display screen includes a display screen for opening a file.
 36. An image processing apparatus according to claim 32, wherein if the paper type identified on the first display screen is for full-page printing, said control unit controls the display unit to display the second display screen with a trimmed image.
 37. An image processing apparatus according to claim 32, wherein switching between the first, second, third and fourth display screens is executed by designating respective tabs.
 38. An image processing apparatus according to claim 32, wherein the specific image processing includes modifying the image to have a three-dimensional appearance.
 39. An image processing apparatus comprising: a control unit adapted to control a display unit to display a first display screen for identifying a paper type, and a second display screen for instructing printing of an image, wherein said control unit controls the display unit to display the first display screen if an application is started, and to display the second display screen if the application is started based on saved information.
 40. An image processing apparatus comprising: a control unit adapted to control a display unit to display a first display screen for displaying an image, and a second display screen for instructing printing of an image, wherein said control unit controls the display unit to display the first display screen if an application is started with a certain image being selected, and to display the second display screen if the application is started based on saved information.
 41. An image processing method, the method comprising: a control step for controlling a display unit to display a first display screen for identifying a paper type, a second display screen for displaying an image, a third display screen for specifying an area of the image displayed on the second display screen to which specific image processing is to be applied, and a fourth display screen for instructing printing of the image with the specific image processing being applied to the area specified on the third display screen, wherein said control step controls the display unit to display the first display screen if an application is started, to display the second display screen if the application is started with a certain image being selected, and to display the fourth display screen if the application is started based on saved information.
 42. An image processing method, the method comprising: a control step for controlling a display unit to display a first display screen for identifying a paper type, and a second display screen for instructing printing of an image, wherein said control step controls the display unit to display the first display screen if an application is started, and to display the second display screen if the application is started based on saved information.
 43. An image processing method, the method comprising: a control step for controlling a display unit to display a first display screen for displaying an image, and a second display screen for instructing printing of an image, wherein said control step controls the display unit to display the first display screen if an application is started with a certain image being selected, and to display the second display screen if the application is started based on saved information.
 44. An image processing program stored on a computer-readable storage medium, the program comprising code for: a control step for controlling a display unit to display a first display screen for identifying a paper type, a second display screen for displaying an image, a third display screen for specifying an area of the image displayed on the second display screen to which specific image processing is to be applied, and a fourth display screen for instructing printing of the image with the specific image processing being applied to the area specified on the third display screen, wherein said control step controls the display unit to display the first display screen if an application is started, to display the second display screen if the application is started with a certain image being selected, and to display the fourth display screen if the application is started based on saved information.
 45. An image processing program stored on a computer-readable storage medium, the program comprising code for: a control step for controlling a display unit to display a first display screen for identifying a paper type, and a second display screen for instructing printing of an image, wherein said control step controls the display unit to display the first display screen if an application is started, and to display the second display screen if the application is started based on saved information.
 46. An image processing program stored on a computer-readable storage medium, the program comprising code for: a control step for controlling a display unit to display a first display screen for displaying an image, and a second display screen for instructing printing of an image, wherein said control step controls the display unit to display the first display screen if an application is started with a certain image being selected, and to display the second display screen if the application is started based on saved information. 